<template>
  <son>

    <p>Lorem ipsum dolor.</p>
    <p>Ad, in magnam.</p>
    <p>Distinctio, officia, omnis!</p>
    <p>Fugiat, pariatur, provident!</p>
    <p>Possimus, quas ut.</p>
    <p>Nulla, quo suscipit.</p>
    <template #[ss]>
      <h1>vue3入门1</h1>
    </template>
  </son>

  <button @click="ss='top'">ss = top</button>
</template>

<script lang="ts" setup>
import son from '@/components/user/Son.vue'
import {ref} from 'vue'

const ss = ref('footer')
</script>

